package com.socket.socket.demos.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.socket.socket.demos.domain.model.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 用户数据库操作
 *
 * @author <a href="https://github.com/liyupi">lin</a>

 */
public interface UserMapper extends BaseMapper<User> {
    @Select("select userAccount,userName from user where isDelete = 0")
    List<User> listUser();
}




